package org.seckill.vo;

/**
 * Created by ASUS on 2017/7/31.
 */
public class Exporter {

    private boolean success;

    private String md5;

    private Long seckillId;

    //系统当前时间
    private Long now;

    private Long start;

    private Long end;

    public Exporter(boolean success) {
        this.success = success;
    }

    public Exporter(boolean success, long seckillId , long now, long start, long end) {
        this.success=success;
        this.now = now;
        this.seckillId = seckillId;
        this.start = start;
        this.end = end;
    }

    public Exporter(boolean success, String md5, Long seckillId) {

        this.success = success;
        this.md5 = md5;
        this.seckillId = seckillId;
    }


    public boolean isSuccess() {
        return success;
    }

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }

    public Long getNow() {
        return now;
    }

    public void setNow(Long now) {
        this.now = now;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }
}
